package com.haiyou.dc.es.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;
import java.io.Serializable;


/**
 * 
 *
 * @author Administrator
 * @date 2020-01-20 16:11:34
 */
@ApiModel(value = "房屋详情表")
@Data
@Accessors(chain = true)
@Table(name = "es_house_detail")
public class EsHouseDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "id", name = "id")
    private Integer id;

    /**
     * 详细描述
     */
    @Column(name = "description")
    @ApiModelProperty(value = "详细描述", name = "description")
    private String description;

    /**
     * 户型介绍
     */
    @Column(name = "layout_desc")
    @ApiModelProperty(value = "户型介绍", name = "layoutDesc")
    private String layoutDesc;

    /**
     * 交通出行
     */
    @Column(name = "traffic")
    @ApiModelProperty(value = "交通出行", name = "traffic")
    private String traffic;

    /**
     * 周边配套
     */
    @Column(name = "round_service")
    @ApiModelProperty(value = "周边配套", name = "roundService")
    private String roundService;

    /**
     * 租赁方式
     */
    @Column(name = "rent_way")
    @ApiModelProperty(value = "租赁方式", name = "rentWay")
    private Integer rentWay;

    /**
     * 详细地址 
     */
    @Column(name = "address")
    @ApiModelProperty(value = "详细地址 ", name = "address")
    private String address;

    /**
     * 附近地铁线id
     */
    @Column(name = "subway_line_id")
    @ApiModelProperty(value = "附近地铁线id", name = "subwayLineId")
    private Integer subwayLineId;

    /**
     * 附近地铁线名称
     */
    @Column(name = "subway_line_name")
    @ApiModelProperty(value = "附近地铁线名称", name = "subwayLineName")
    private String subwayLineName;

    /**
     * 地铁站id
     */
    @Column(name = "subway_station_id")
    @ApiModelProperty(value = "地铁站id", name = "subwayStationId")
    private Integer subwayStationId;

    /**
     * 地铁站名
     */
    @Column(name = "subway_station_name")
    @ApiModelProperty(value = "地铁站名", name = "subwayStationName")
    private String subwayStationName;

    /**
     * 对应house的id
     */
    @Column(name = "house_id")
    @ApiModelProperty(value = "对应house的id", name = "houseId")
    private Integer houseId;

}
